#ifndef PARSE_H
#define PARSE_H
#include "tag.h"
#include <stdio.h>

#define PARSE_COMPL_MAX_SIZE 512

typedef enum 
{
  TAG_NONE = 0,
  TAG_SYNC = 1,
  TAG_SINGLECOMPL = 2
} xrefparser_state_t;


typedef struct
{
  xrefparser_state_t state;

} xrefparser_t;

void parse_xref( tstack_t *ts, FILE* stream, long id );

#endif
